﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TicketMaster.Object;

namespace TicketMaster.Data
{
    public interface IUowData : IDisposable
    {
        IRepository<BookedSeat> BookedSeats { get; }

        IRepository<Seat> Seats { get; }

        IRepository<ApplicationUser> ApplicationUsers { get; }

        IRepository<Bus> Buses { get; }

        IRepository<City> Cities { get; }

        IRepository<Comment> Comments { get; }

        IRepository<Merchant> Merchants { get; }

        IRepository<Route> Routes { get; }

        int SaveChanges();
    }
}
